package com.wuliang.blog.controller;

import com.wuliang.blog.core.basic.BaseController;
import com.wuliang.blog.entities.Classification;
import com.wuliang.blog.repositories.ClassificationRepository;
import com.wuliang.blog.response.Result;
import com.wuliang.blog.vo.ClassificationVo;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author WuLiang
 */
@RestController
@RequestMapping("/classification")
@Api(value = "分类")
public class ClassificationController extends BaseController<Classification, ClassificationVo> {

    @Autowired
    private ClassificationRepository classificationRepository;

    @Override
    public Result<Object> save(ClassificationVo vo) {
        return null;
    }
}
